<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:83:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/supplier\view\product\index.html";i:1513927037;s:83:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/supplier\view\public\header.html";i:1513926987;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Filtrs ADMIN</title>
    <link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__STATIC__']; ?>/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__STATIC__']; ?>/plugins/font-awesome/css/font-awesome.min.css" media="all" />
    <link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__STATIC__']; ?>/src/css/app.css" media="all" />
    <link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__STATIC__']; ?>/src/css/themes/default.css" media="all" id="skin" kit-skin />
	<script src="<?php echo $PUBLIC_STATIC_SRC['__STATIC__']; ?>/plugins/layui/layui.js"></script>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__Home_JS__']; ?>/common.js"></script>
</head>

<body class="childrenBody">
	<form class="layui-form layui-elem-quote">	
		<div class="layui-inline">
			<div class="layui-input-inline">
				<select name="TypeId" lay-search>
					<option value="0">请选择产品类型</option>
					<?php if(is_array($ptype) || $ptype instanceof \think\Collection || $ptype instanceof \think\Paginator): $i = 0; $__LIST__ = $ptype;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$f): $mod = ($i % 2 );++$i;?>
						<option value="<?php echo $f['id']; ?>"><?php echo $f['type_name']; ?></option>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<div class="layui-input-inline">
				<select name="SaleType" lay-filter="browseLook" lay-search>
					<option value="0">请选择产品状态</option>
					<?php if(is_array($psale) || $psale instanceof \think\Collection || $psale instanceof \think\Paginator): $k = 0; $__LIST__ = $psale;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$f): $mod = ($k % 2 );++$k;?>
						<option value="<?php echo $k; ?>"><?php echo $f; ?></option>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</select>
			</div>
		</div>
		<div class="layui-inline">
		    <div class="layui-input-inline">
		    	<input type="text" value="" placeholder="请输入产品编码|名称" class="layui-input search_input">
		    </div>
		    <a class="layui-btn search_btn">查询</a>
		</div>
		<div class="layui-inline">
			<a class="layui-btn layui-btn-normal newsAdd_btn">添加产品</a>
		</div>
	</form>
	<table class="layui-hide" id="lay_table_product" lay-filter="product"></table> 
	<script type="text/html" id="statusTpl">
		<input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="是|否" lay-filter="isShow" {{ d.product_status == 1 ? 'checked' : '' }} >
	</script>
	<script type="text/html" id="barMenu">
		<a class="layui-btn layui-btn-xs news_edit" data-id="{{d.id}}" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs news_del" data-id="{{d.id}}" lay-event="del">删除</a>
	</script>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__Home_JS__']; ?>/product/productList.js"></script>
</body>
</html>